package com.xiaomi.eco.service;

import com.xiaomi.eco.dal.query.PageResult;
import com.xiaomi.eco.dal.req.TaskDetailReq;
import com.xiaomi.eco.dal.req.TaskEditReq;
import com.xiaomi.eco.dal.req.TaskQueryReq;
import com.xiaomi.eco.dal.res.SearchRes;
import com.xiaomi.eco.dal.res.TaskDetailRes;
import com.xiaomi.eco.dal.res.TaskQueryRes;

import java.util.List;

public interface TaskService {

    PageResult<List<TaskQueryRes>> queryTask(TaskQueryReq taskQueryReq);

    PageResult<List<TaskDetailRes>> getTaskDetail(TaskDetailReq taskDetailReq);

    void saveTask(List<TaskEditReq> taskEditReqList);

    List<SearchRes> queryL4();

    // void queryData();
}
